const app = new Vue({
  data: {
    msg: "hello form",
    message: "",
    checked: false,
    checkedNames: ["123"],

    picked: "女",
    selected: "",
    // selected: []
    options: [
      { text: 'One', value: 'A' },
      { text: 'Two', value: 'B' },
      { text: 'Three', value: 'C' }
    ],
    bmiData: {
      height: 12,
      weight: 34
    },
    uname: ""
  },
  methods: {
    getUName() {
      console.log(this.uname)
    },
    calc() {
      console.log(this.bmiData)
      console.log(typeof this.bmiData.height)
      console.log(typeof this.bmiData.weight)
      // console.log(typeof +this.bmiData.height)
      // console.log(typeof Number(this.bmiData.weight))
    }
  }
}).$mount("#app")


